package jrain.fw.core.consts;

public class Consts {

	public static final String DEBUG = "debug";
	public static final String FW_SCAN_PKGS = "fw.scan.pkgs";
	public static final String TEST = "test";
	// ==================================================================================
	public static final String CFG_TYPE_PROP = "prop";
	public static final String CFG_TYPE_SQL = "sql";
	public static final String CFG_TYPE_PARAM = "param";
	public static final String CFG_TYPE_VALIDATE = "validate";
	public static final String CFG_SCAN_PKGS_DVALUE = "jrain";
	public static final String CFG_DB_PRE = "cfg.db.";
	public static final String CFG_SQL_ALL = "cfg.sql.all";
	public static final String CFG_SQL_ONE = "cfg.sql.one";
	public static final String CFG_PARAM_ALL = "cfg.param.all";
	public static final String CFG_PARAM_ONE = "cfg.param.one";
	public static final String CFG_VALIDATE_ALL = "cfg.validate.all";
	public static final String CFG_VALIDATE_ONE = "cfg.validate.one";
	public static final String CFG_PROP_ALL = "cfg.prop.all";
	public static final String CFG_PROP_ONE = "cfg.prop.one";
	// ==================================================================================
	public static final String CFG_SQL_TYPE = "sqlType";
	public static final String CFG_SQL_TYPE_INSERT = "insert";
	public static final String CFG_SQL_TYPE_UPDATE = "update";
	public static final String CFG_SQL_TYPE_DELETE = "delete";
	public static final String CFG_SQL_TYPE_SELECT = "select";
	public static final String CFG_SQL_BUSI_KEY = "busiKey";
	public static final String CFG_SQL_CODE = "sqlCode";
	public static final String CFG_SQL_VALUE = "sqlValue";
	public static final String CFG_SQL_TABLE = "sqlTable";
	public static final String CFG_SQL_COLUMNS = "sqlColumns";
	public static final String CFG_SQL_CONDITION = "sqlCondition";
	// ==================================================================================
	public static final String CFG_PARAM_BUSI_KEY = "busiKey";
	public static final String CFG_PARAM_TYPE = "paramType";
	public static final String CFG_PARAM_TYPE_INT = "int";
	public static final String CFG_PARAM_TYPE_LONG = "long";
	public static final String CFG_PARAM_TYPE_MONEY = "money";
	public static final String CFG_PARAM_TYPE_DATE = "date";
	public static final String CFG_PARAM_TYPE_STRING = "string";
	public static final String CFG_PARAM_DVALUE = "paramDvalue";
	public static final String CFG_PARAM_DVALUE_DATE_PRE = "d_";
	public static final String CFG_PARAM_DVALUE_DATE_TIME = "time";
	public static final String CFG_PARAM_DVALUE_DATE_DATE = "date";
	public static final String CFG_PARAM_KEY = "paramKey";
	public static final String CFG_PARAM_NAME = "paramName";
	public static final String CFG_PARAM_EMPTY = "paramEmpty";
	public static final String CFG_PARAM_EMPTY_Y = "Y";
	public static final String CFG_PARAM_EMPTY_N = "N";
	public static final String CFG_PARAM_EMPTY_N1 = "N1";
	public static final String CFG_PARAM_RANGE = "paramRange";
	public static final String CFG_PARAM_DICT = "paramDict";
	public static final String CFG_PARAM_RULE = "paramRlue";
	public static final String CFG_PARAM_LENGTH = "paramLength";
	public static final String CFG_PARAM_SCALE = "paramScale";
	// ==================================================================================
	public static final String CFG_VALIDATE_BUSI_KEY = "busiKey";
	public static final String CFG_VALIDATE_ITEM_KEY = "itemKey";
	public static final String CFG_VALIDATE_ITEM_VALUE = "itemValue";
	// ==================================================================================
	public static final String CFG_PROP_TYPE_CODE = "typeCode";
	public static final String CFG_PROP_ITEM_KEY = "itemKey";
	public static final String CFG_PROP_ITEM_VALUE = "itemValue";
	// ==================================================================================
	public static final String CFG_ENV_CODE = "cfg.env.code";
	public static final String CFG_ENV_CODE_DEV = "dev";
	public static final String CFG_ENV_SQL_CODE = "cfg.env.sql.code";
	public static final String CFG_ENV_PARAM_CODE = "cfg.env.param.code";
	public static final String CFG_ENV_VALIDATE_CODE = "cfg.env.validate.code";
	public static final String CFG_ENV_PROP_CODE = "cfg.env.porp.code";
	// ==================================================================================
	public static final String VALIDATE_RS_KEY = "key";
	public static final String VALIDATE_RS_TYPE = "type";
	public static final String VALIDATE_RS_LENGTH = "length";
	public static final String VALIDATE_RS_RANGE = "range";
	public static final String VALIDATE_RS_DICT = "dict";
	public static final String VALIDATE_RS_TYPE_BASE = "base";
	public static final String VALIDATE_RS_TYPE_EMPTY = "emtpy";
	public static final String VALIDATE_RS_TYPE_LENGHT = "length";
	public static final String VALIDATE_RS_TYPE_RANGE = "range";
	public static final String VALIDATE_RS_TYPE_DICT = "dict";
	// ========================================================================
	public static final String SQL_COLUMNS = "columns";
	public static final String SQL_CONDITION = "condition";
	public static final String SQL_AND_CONDITION = "AndCondition";
	public static final String SQL_OR_CONDITION = "OrCondition";
	public static final String SQL_CONDITION_PRE = "c_";
	public static final String SQL_CONDITION_OP_DVALUE = "1";
	public static final String SQL_CONDITION_GROUP_DVALUE = "__";
	public static final String SQL_CTX_COUNT_VAR = "countVar";
	public static final String SQL_CTX_COUNT_CONDITION = "countCondition";
	// ========================================================================
	public static final String SQL_IS_PAGE = "isPage";
	public static final String SQL_PAGE = "page";
	public static final String SQL_PAGE_SIZE = "pageSize";
	public static final String SQL_IS_LIMIT = "isLimit";
	public static final String SQL_ORDER = "order";
	public static final String SQL_IS_PAGE_YES = "1";
	public static final String SQL_IS_PAGE_NO = "2";
	public static final String SQL_IS_LIMIT_YES = "1";
	public static final String SQL_IS_LIMIT_NO = "2";
	public static final String SQL_SHOW_COLUMNS = "showColumns";
	public static final String SQL_IGNORE_COLUMNS = "ignoreColumns";
	// ========================================================================
	public static final String LOG_TYPE = "log.type";
	public static final String LOG_TYPE_DVALUE = "sl4j";
	// ========================================================================
	public static final String ID_WORK = "id.work";
	public static final String ID_WORK_DVALUE = "1";
	// ========================================================================
	public static final String SERVICE_CTX_CLASS = "service.ctx.class";
	// ========================================================================
	public static final String BUSINESS_AUTH = "business.auth";
	public static final String BUSINESS_INTERCEPTOR = "business.interceptor";
	public static final String BUSINESS_INTERCEPTOR_DVALUE = "validate";
	// ========================================================================
	public static final String HTTP_CONTENT_PATH = "http.context.path";
	public static final String HTTP_CONTENT_PATH_DVALUE = "/";
	public static final String HTTP_SERVER_PORT = "http.server.port";
	public static final int HTTP_SERVER_PORT_DVALUE = 6158;
}
